package com.mp.approvalreq.entity.GeneralRequest;

import com.mp.approvalreq.entity.Condition;

public class GeneralRequest extends Condition {

	private int conditionId;

	private Integer companyId;
	/**
	 * 审批流主键
	 */
	private int generalFlowId;
	/**
	 * 申请人
	 */
	private int applicant;
	/**
	 * 所有审批人xx,xx,xx,xx
	 */
	private String allJudger;
	/**
	 * 工程
	 */
	private int project;
    /**
     * 工程细分id, 为0时表明,当前审批流是该工程的通用审批流
     */
    private String specificId;

    /**
     *  选项或值; 如订单类型id
     */
    private String item;

    public String getSpecificId() {
        if (specificId == null) {
            return "0";
        }
        return specificId;
    }

	public int getConditionId() {
		return conditionId;
	}

	public void setConditionId(int conditionId) {
		this.conditionId = conditionId;
	}

	@Override
	public Integer getCompanyId() {
		return companyId;
	}

	@Override
	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public void setSpecificId(String specificId) {
        this.specificId = specificId;
    }
    public int getProject() {
        return project;
    }
    public void setProject(int project) {
        this.project = project;
    }
    public int getGeneralFlowId() {
        return generalFlowId;
    }
    public void setGeneralFlowId(int generalFlowId) {
        this.generalFlowId = generalFlowId;
    }
    public int getApplicant() {
        return applicant;
    }
    public void setApplicant(int applicant) {
        this.applicant = applicant;
    }
    public String getAllJudger() {
        return allJudger;
    }
    public void setAllJudger(String allJudger) {
        this.allJudger = allJudger;
    }

    public String getItem() {
        return item;
    }

    public void setItem(String item) {
        this.item = item;
    }
}
